<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<script language="javascript" type="text/javascript">
			$(document).ready(function(){
				/* 斑马纹 */
				$("#groupGorumListCss > tr:even").addClass("alt");
			});
</script>				
<table class="box-content-list" cellspacing="0">
	<thead>
		<tr>
			<th class="topic">
				标题
			</th>
			<th class="starter">
				作者
			</th>
			<th class="replies">
				回复/查看
			</th>
			<th class="latest-reply">
				最后回复
			</th>
			<th class="pin">
				&nbsp;
			</th>
			<th class="moderation">
				&nbsp;
			</th>
		</tr>
	</thead>
	<tbody id="groupGorumListCss">
		<s:if test="${groupForumList.size()==0 }">
			暂时还没有新信息
		</s:if>
		<s:iterator value="groupForumList" id="gf">
			<tr>
				<td class="topic">
					<div>
						<a
							href="<%=basePath %>/forum/view?id=${gf.id }">${gf.title }</a>
					</div>
				</td>
				<td class="starter">
					<div>
						<div class="avatar really-small">
							<a class="avatar-link" id="mop_member_10194494_0_959231866"
								title="${gf.publisher.nick }" href="<%=basePath %>/profile/?id=${gf.publisher.id }"><img
									class="avatar-img" alt="${gf.publisher.nick }"
									src="<%=basePath %>/images/user-header/${gf.publisher.header }" /> </a>
							<p class="avatar-name">
								<a title="${gf.publisher.nick }" href="<%=basePath %>/profile/?id=${gf.publisher.id }">${gf.publisher.nick }</a>
							</p>
						</div>
					</div>
				</td>
				<td class="replies">
					<div>
						${gf.forumBody.size() } / ${gf.viewTime }
					</div>
				</td>
				<td class="latest-reply">
					<div>
						<span class="date" title="${gf.lastPublish }">${gf.lastFormat }</span>
					</div>
				</td>
				<td class="pin">
					<div></div>
				</td>
				<td class="moderation message-optns">
					<div></div>
				</td>
			</tr>
		</s:iterator>
	</tbody>
</table>